package com.fun.feifun.modules.business.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fun.feifun.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 业务用户商品信息
 * </p>
 *
 * @author wkf
 * @since 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="BusinessSupplierGoods对象", description="业务用户商品信息")
public class BusinessSupplierGoods extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品 金额")
    private BigDecimal goodsAmount;

    @ApiModelProperty(value = "手续金额")
    private BigDecimal feesAmount;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "是否拥有授权")
    private boolean hasAuthor;

    @ApiModelProperty(value = "供货商平台商品编号")
    private String productCode;

    @ApiModelProperty(value = "0未删除，1已经删除")
    private Boolean delFlag;


}
